﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteMaster.Mobile.Master"
    Inherits="System.Web.Mvc.ViewPage<Microhard.Permission.Models.Logon>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <%=Html.ValidationSummary(true)%>
    <%using (Html.BeginForm("Login", "Account", FormMethod.Post))
      { %>
    <div data-role="fieldcontain" class="ui-hide-label">
        <label for="UserName">
            用户名(必填)</label>
        <%=Html.TextBoxFor(m => m.UserName, new { placeholder = "用户名(必填)" })%>
        <%=Html.ValidationMessageFor(m => m.UserName)%>
    </div>
    <div data-role="fieldcontain" class="ui-hide-label">
        <label for="UserName">
            密码(必填)</label>
        <%=Html.PasswordFor(m => m.Password, new { placeholder = "密码(必填)" })%>
        <%=Html.ValidationMessageFor(m => m.Password)%>
    </div>
    <input type="submit" value="提交" data-theme="b" />
    <%} %>
</asp:Content>
